package com.frogs.ucenter.service;

import java.util.Map;

import com.frogs.framework.util.PageList;
import com.frogs.ucenter.entity.UserIntegralBalance;

public interface UserIntegralService {
	
	/**
	 * 获取用户积分
	 * 
	 * @param userId
	 * @param verify
	 * @return
	 * @throws Exception
	 */
	UserIntegralBalance getUserIntegralInfo(Integer userId) throws Exception;

	/**
	 * 获取用户积分消费列表
	 * 
	 * @param userId
	 * @param verify
	 * @param pageNo
	 * @param pageSize
	 * @return
	 * @throws Exception
	 */
	PageList<Map<String,Object>> getUserIntegralConsumeRecordList(Integer userId, Integer pageNo, Integer pageSize) throws Exception;
	
	/**
	 * 获取用户积分列表
	 * 
	 * @param userId
	 * @param verify
	 * @param pageNo
	 * @param pageSize
	 * @return
	 * @throws Exception
	 */
	PageList<Map<String,Object>> getUserIntegralRecordList(Integer userId, Integer pageNo, Integer pageSize) throws Exception;

	/**
	 * 获取用户积分消费列表
	 * @param verify
	 * @param pageNo
	 * @param pageSize
	 * @return
	 * @throws Exception
	 */
	PageList<Map<String, Object>> getIntegralConsumeRecordList(
			Integer pageNo, Integer pageSize) throws Exception;
}
